package com.example.jiaoziyang.startproject322jzy.Service;

import com.example.jiaoziyang.startproject322jzy.bean.WeatherResult;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

/**
 * Created by yubo on 2017/3/29.
 */

public interface WeatherService {
    //将接口的URL补充完整
    @GET("data/sk/{cityNumber}.html")
    //向API传参数
    Call<WeatherResult> getResult(@Path("cityNumber") String cityNumber);
}
